const db = require("./db")

const userSchema = new db.Schema({
  uId: {type:String},
  username: {type:String},
  password: {type:String},
  tel: {type:String},
  nickName: {type:String},
  age: {type:Number},
  sex: {type:String},
  regTime: {type:Number},
  power: {type: Number}
})

module.exports = db.model( "user", userSchema );

